<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c"%>
<%@ taglib uri="/WEB-INF/tld/fmt.tld" prefix="fmt"%>

<table id="listRoadSectionList" cellspacing="0" cellpadding="0">
	<thead>
		<tr>
			<td class="rvimscheckbox"><input type="checkbox" onclick="selectAllForList('listRoadSectionList')"></td>
			<td>路段编号</td>
			<td>路段名称</td>
			<td>道路代码</td>
			<td>管理部门编号</td>
			<td>起始米数</td>
			<td>结束米数</td>
			<td>行政区划</td>
			<td>操作</td>
		</tr>
	</thead>
	<tbody>
		<c:forEach items="${page.results}" var="roadSection">
			<tr id="objId_${roadSection.id}">
				<td><input type="checkbox" name="roadSectionIds" value="<c:out value='${roadSection.id}'/>"></td>
				<td><c:out value="${roadSection.sectionnum}"/></td>
				<td><c:out value="${roadSection.sectionname}"/></td>
				<td><c:out value="${roadSection.roadcode}"/></td>
				<td><c:out value="${roadSection.organizationid}"/></td>
				<td><c:out value="${roadSection.startmeter}"/></td>
				<td><c:out value="${roadSection.endmeter}"/></td>
				<td><c:out value="${roadSection.admindivision}"/></td>
				<td class="rvimsoperation">
					<a href="javascript:ajaxShowRoadSectionView('${roadSection.id}')" title="详细信息"><span class="ui-icon ui-icon-document"></span></a> 
					<a href="javascript:ajaxShowRoadSectionEdit('${roadSection.id}')" title="修改"><span class="ui-icon ui-icon-pencil"></span></a> 
					<a href="javascript:ajaxDeleteRoadSectionById('${roadSection.id}')" title="删除"><span class="ui-icon ui-icon-trash"></span></a>
				</td>
			</tr>
		</c:forEach>
	</tbody>
</table>
<div id="rvimsPaginationPanel"></div>
<div id="dialog2"></div>
<script type="text/javascript">
	setTableCSS("listRoadSectionList");
	setPagination("rvimsPaginationPanel","${page.totalPageCount}","${page.pageNum}","${page.pageSize}","${page.totalCount}",ajaxFindRoadSectionSearchList);
</script>